package com.xinqi.modules.course.chapter.dto;

import com.xinqi.modules.course.content.dto.CourseContentSort;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ChapterSortDTO {
    //班级id
    @NotNull(message = "班级id非空")
    private Long classId;
    //课程id
    private Long courseId;
    //章节排序参数
    private List<ChapterSort> chapterSorts;
    //章节内容排序参数
    private List<CourseContentSort> courseContentSorts;
}
